<template>
  <div class="receive-address">
    <div class="top-title">
      收货地址管理
    </div>
    <div class="container">
      <div>
        <div class="preparation" @click="addAdress">
          <a-icon class="icon" type="plus" />
          <span class="preparation-text">新增收货地址</span>
        </div>
        <span class="top-msg">您已创建<i>3</i>个收货地址，最多可创建<i>10</i>个</span>
      </div>
      <div class="container-card">
        <p><span>收货人：</span>王蝶</p>
        <p><span>手机：</span>1306354654</p>
        <p><span>固定电话：</span>135416464354</p>
        <p><span>所在地区：</span>1563156341563</p>
        <p><span>详细地址：</span>huihauioha</p>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      
    }
  },
  methods: {
    addAdress() {
      //新增收货地址
    }
  },
}
</script>
<style lang="less">
i,p {
  font-style: normal;
  margin: 0;
  padding: 0;
}
.receive-address {
  .top-title {
    width: 100%;
    height: 54px;
    line-height: 54px;
    padding-left: 24px;
    color: #272424;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
  }
  .container {
    background: #fff;
    margin: 16px;
    width: calc(100% - 32px);
    min-height: 800px;
    padding: 24px;
    overflow: hidden;
  }
  .preparation {
    display: inline-block;
    width: 120px;
    height: 32px;
    line-height: 32px;
    background: @activeRed;
    border-radius: 2px;
    color: #fff;
    text-align: center;
    cursor: pointer;
    .icon{
      width: 16px;
      height: 16px;
    }
    .preparation-text{
      font-size: 12px;
      vertical-align: middle;
      margin-left: 8px;
    }
  }
  .top-msg {
    font-size: 12px;
    color: rgba(39,36,36,0.60);
    margin-left: 16px;
    i {
      color: @activeRed;
    }
  }
  .container-card {
    width: 100%;
    padding: 24px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 1px rgba(39,36,36,0.06); 
    color: #272424;
    font-size: 12px;
    margin-top: 16px;
    p {
      height: 24px;
    }
    span {
      color: rgba(39,36,36,0.6);
      width: 60px;
      text-align: right;
      display: inline-block;
    }
  }
}
</style>